# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-pymacaroons
pkgver=0.13.0
pkgrel=6
pkgdesc="Macaroon library for Python3"
url="https://github.com/ecordell/pymacaroons"
arch="noarch"
license="MIT"
depends="python3 py3-six py3-pynacl"
makedepends="python3-dev py3-setuptools"
options="!check" # no tests
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/p/pymacaroons/pymacaroons-$pkgver.tar.gz"
builddir="$srcdir/pymacaroons-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="1929a63755dcfdc2e154217f3ce65a489b4ffdb8f4f9a27d6eb1f1899eba6d7f3f92c7db4401337e948306b6a97dd3b249196c89533991c9986d5702ad98e4ca  pymacaroons-0.13.0.tar.gz"
